function Map(ele)
{
    this.ele=ele
    this.width=800
    this.height=400
}

Map.prototype.creat=function()
{
    this.ele.style.width=this.width+'px'
    this.ele.style.height=this.height+'px'
    this.ele.style.background='url(./bg.png)'
    // console.log( this.ele.background);
    this.ele.style.border = '20px solid yellow'
    this.ele.style.position = 'relative'
}

